#include <iostream>
using std::cout ; 
using std::endl ; 

#include "CharType.hpp"

CharType::CharType(char* variable,string flag, string shortDescription,char defaultValue,string longDescription,string group,int order ) 
{
	 mFlag = flag ;  
	 mShortDescription = shortDescription ; 
   mDefaultValue = defaultValue ; 
	 mLongDescription = longDescription ; 
	 mGroup = group ; 
	 mOrder = order ; 
	 mValue = variable ; 
}



void CharType::setChar(char intValue) 
{
	 *mValue = intValue ; 
}

string CharType::getValueAsString() 
{
	if(mValue==NULL){
		return "NULL" ; 
	}
	string returnString = "" ; 
	returnString += *mValue ; 
	return returnString ; 
}


string CharType::getDefaultAsString() 
{
	string returnString = "" ; 
	returnString += mDefaultValue ; 
	return returnString ; 
}


// -*- C++ -*-

// (C) 2006 by Nathan Dunn, <ndunn@mac.com>


